//
// var gobalWeb="http://localhost:8080/page/";
// var gobalServer="http://localhost:8080/api/";
// var gobalDownUrl="http://localhost:8080/";
//
var gobalWeb="http://116.62.44.77/ycMcServer/page/";
var gobalServer="http://116.62.44.77/ycMcServer/api/";
var gobalDownUrl="http://116.62.44.77/ycMcServer/";


var gobalIsLogin=false;
var gobalLoginId="";
var gobalLoginNickName="";
var gobalLoginIsteam=false;
var gobalLoginMemberLimit="";
var gobalLoginLastTime="";
var gobalNav=1;
var navUrl=[
	"index.html,messages.html,settings.html,createorder.html,orders.html,editorder.html,usershow.html,"
	+"usermg.html,productshow.html,productmg.html,"
	+"brandshow.html,brandmg.html,usermoney.html,userfinance.html,performance.html,print.html,storemg.html,storeedit.html,storeshow.html,suppliermg.html,suppliershow.html",//管理员
	"index.html,messages.html,settings.html,createorder.html,userorders.html,"
	+"userproductshow.html,userfinance.html,performance.html"//客户
];
var navData=[[
	{
		firsttitle: "总览",
		firsturl: "",
		secnav: [
			{
				sectitle: "业绩统计",
				securl: "index.html"
			}
		]
	},
	{
		firsttitle: "订单系统",
		firsturl: "",
		secnav: [
			{
				sectitle: "开单系统",
				securl: "orders/createorder.html"
			},
			{
				sectitle: "查看所有订单",//确认及打印
				securl: "orders/orders.html"
			}/*,
            {
                sectitle: "修改订单",//确认及打印
                securl: "orders/editorder.html"
            }*/
		]
	},
	{
		firsttitle: "客户系统",
		firsturl: "",
		secnav: [
			{
				sectitle: "查询客户",
				securl: "user/usershow.html"
			},
			{
				sectitle: "客户管理",
				securl: "user/usermg.html"
			}
		]
	},
	{
		firsttitle: "产品系统",
		firsturl: "",
		secnav: [
			{
				sectitle: "查询产品",
				securl: "product/productshow.html"
			},
			{
				sectitle: "产品管理",
				securl: "product/productmg.html"
			},
			{
				sectitle: "查询品牌",
				securl: "product/brandshow.html"
			},
			{
				sectitle: "品牌管理",
				securl: "product/brandmg.html"
			},
            {
                sectitle: "库存添加",
                securl: "product/storemg.html"
            },
            {
                sectitle: "库存记录",
                securl: "product/storeshow.html"
            },
            {
                sectitle: "供应商管理",
                securl: "product/suppliermg.html"
            },
            {
                sectitle: "查询供应商",
                securl: "product/suppliershow.html"
            }
		]
	},
	{
		firsttitle: "财务管理",
		firsturl: "",
		secnav: [
			{
				sectitle: "收扣款",
				securl: "finance/usermoney.html"
			},
			{
				sectitle: "出纳情况",
				securl: "finance/userfinance.html"
			}
		]
	},
	{
		firsttitle: "业绩盘点",
		firsturl: "",
		secnav: [
			{
				sectitle: "业绩盘点",
				securl: "statistics/performance.html"
			}
		]
	}
],[
	{
		firsttitle: "总览",
		firsturl: "",
		secnav: [
			{
				sectitle: "我的盘点",
				securl: "index.html"
			}
		]
	},
	{
		firsttitle: "订单管理",
		firsturl: "",
		secnav: [
			{
				sectitle: "我的订单",//不同状态订单及打印
				securl: "orders/userorders.html"
			}
		]
	},
	{
		firsttitle: "产品查询",
		firsturl: "",
		secnav: [
			{
				sectitle: "产品查询",//开单
				securl: "product/userproductshow.html"
			},
			{
				sectitle: "产品开单",//开单
				securl: "orders/createorder.html"
			}
		]
	},
	{
		firsttitle: "财务管理",
		firsturl: "",
		secnav: [
			{
				sectitle: "出纳情况",
				securl: "finance/userfinance.html"
			}
		]
	},
	{
		firsttitle: "业绩盘点",
		firsturl: "",
		secnav: [
			{
				sectitle: "业绩盘点",
				securl: "statistics/performance.html"
			}
		]
	}
]];